// ============================================================================
// Name : AnnotationInfo.java
// Author : iron.yin@gmail.com
// Version : v1.0
// Copyright : RisingSun CO,.LTD
// Description : AnnotationInfo.java in Java
// ============================================================================
package cc.risingsun.wing.core;

import java.util.Map;

import cc.risingsun.wing.ds.DataStruct;

/**
 * 
 * @author iron.yin@gmail.com
 * @sina 2012-7-19
 */
public class WingAnnotation extends WingBase {

	Map<String, Object> values;
	Class<?> clazz;

	WingAnnotation(String owner, String name) {
		super(owner, name);
		clazz = ASMUtil.toClass(name);
		values = DataStruct.hashMap();
	}

	/**
	 * @param values the values to set
	 */
	void put(String name, Object value) {
		values.put(name, value);
	}

	public Object get(String name) {
		return values.get(name);
	}
	
}
